package za.co.ray.eyewtkah.objects;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import za.co.ray.eyewtkah.objects.membership.Member;
import za.co.ray.eyewtkah.objects.status.BenefitStatus;
import za.co.ray.eyewtkah.objects.status.Decidable;

@XmlRootElement
public class Benefit implements Serializable, Decidable {

    private static final long serialVersionUID = 1044910325996965667L;

    private Long id;

    private Member member;

    private TimePeriod period;
    
    private List<Entitlement> entitlements;

    private BenefitStatus status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public TimePeriod getPeriod() {
        return period;
    }

    public void setPeriod(TimePeriod period) {
        this.period = period;
    }

    public List<Entitlement> getEntitlements() {
        return entitlements;
    }

    public void setEntitlements(List<Entitlement> entitlements) {
        this.entitlements = entitlements;
    }

    public BenefitStatus getStatus() {
        return status;
    }

    public void setStatus(BenefitStatus status) {
        this.status = status;
    }

}
